const { git_is_dirty } = require("../utils/scm_tool");
const { BaseCommand } = require("./base");

class GitIsDirtyCommand extends BaseCommand {
    async execute() {
        const data = this.selfData;
        return await git_is_dirty(data.cwd);
    }
}

module.exports = {
    GitIsDirtyCommand,
};
